package com.hxd.mall.module.usercenter.bind

import android.graphics.Color
import com.alibaba.android.arouter.facade.annotation.Route
import com.hxd.mall.R
import com.hxd.mall.base.BaseInjectActivity
import com.hxd.mall.constant.HxdConstantsRouterPath.PathUserCenter.path_user_center_alipay_bind
import crossoverone.statuslib.StatusUtil

/**
 * 支付宝授权页
 */
@Route(path = path_user_center_alipay_bind)
class AliPayBindActivity : BaseInjectActivity<IAliPayBindPresenter>(), IAliPayBindView {

    override fun attachLayoutRes(): Int = R.layout.activity_alipay_bind_layout

    override fun initViews() {
        setTitleCommon(resources.getString(R.string.zhifubao_authority))
    }

    override fun initData() {
    }

    override fun showData() {

    }

    override fun setStatusColor() {
        StatusUtil.setUseStatusBarColor(this, Color.WHITE)
    }

    override fun setSystemInvadeBlack() {
        StatusUtil.setSystemStatus(this, false, true)
    }
}
